home *** CD-ROM | disk | FTP | other *** search
/ TeX 1995 July / TeX CD-ROM July 1995 (Disc 1)(Walnut Creek)(1995).ISO / tex-k / tex-k-archive.past / 1994.11.gz / 1994.11 / 000090_jp107@amtp.cam.ac.uk_Sun Nov 13 19:42:29 1994.msg < prev    next >
Internet Message Format  |  1994-11-30  |  3KB

  1. Received: from inn.amtp.cam.ac.uk by cs.umb.edu with SMTP id AA18287
  2.   (5.65c/IDA-1.4.4 for <tex-k@cs.umb.edu>); Sun, 13 Nov 1994 14:42:36 -0500
  3. Return-Path: <J.S.Peatfield@damtp.cambridge.ac.uk>
  4. Received: from club.amtp.cam.ac.uk [131.111.16.12] (TAP id = jp107) 
  5.     by inn.amtp.cam.ac.uk with smtp 
  6.     (Smail-3.1.28.1 #6) id m0r6koo-0001HfC; Sun, 13 Nov 94 19:42 GMT
  7. Received: by club.amtp.cam.ac.uk (4.1/DAMTP 2.1-Client (club.amtp.cam.ac.uk MX-hub grey.amtp.cam.ac.uk))
  8.     id AA17040; Sun, 13 Nov 94 19:42:29 GMT
  9. Date: Sun, 13 Nov 94 19:42:29 GMT
  10. Message-Id: <9411131942.AA17040%club.amtp.cam.ac.uk@damtp.cambridge.ac.uk>
  11. To: tex-k@cs.umb.edu
  12. Subject: M in config.<printer>
  13. From: Jon Peatfield <J.S.Peatfield@amtp.cam.ac.uk>
  14.  
  15. I just noticed that there has been a change in the way that the M
  16. option in the config.<printer> is now interpretted since I last set up
  17. dvips(k) on our machines.
  18.  
  19. Basically I think that when the -mode option was added the changes to
  20. allow this to override the config.<printer> broke something else.  The
  21. result is that now dvips uses the *first* M option in any config file
  22. it finds rather than the last as it previously did.  I'd set up
  23. config.ps to set defaults valid for most of our printers (M CanonCX),
  24. and overrode this in the config.<printer> for those printers with
  25. different engines.  Now it sees the M CanonCX in the config.ps and
  26. ignores the later ones as in resident.c it says:
  27.  
  28. > ...
  29. > case 'M' :
  30. >          /* If we had the compilation default, replace it. But
  31. >             if they specified one with -mode, keep it.  */
  32. >          if (!mfmode)
  33. >            mfmode = configstring(was_inline+1, 0) ;
  34. >          break ;
  35. > ...
  36.  
  37. So it mfmode is set it never gets changed.  I'd check the
  38. mfmode_option variable here but this is local to main in dvips.c (the
  39. *real* has the -mode been passed flag).  I'd rather not move stuff
  40. arround without letting other see if there is a better solution.  In
  41. the meantime I've altered our config.ps not to set M and set it in all
  42. our config.<printer> files (tedius but correct.)
  43.  
  44. Any better suggestions?  If not I'll post a patch in a couple of days.
  45. (Not that I can be bothered to re-compile now I've fixed the problem
  46. in the config-* files, but those CanonCX fonts being printed on our
  47. ljfour's looked a little odd...)
  48.  
  49. In case I've missed it are there any other changes recently like this
  50. which may cause the config.<printer> files to behave differently?
  51.  
  52.   -- Jon
  53.  
  54. Jon Peatfield, Computer Officer, the DAMTP, University of Cambridge
  55. Telephone: (+44 223) 3-37852     Mail: J.S.Peatfield@damtp.cam.ac.uk
  56.  
  57.      Monotype Fonts.  Get 'em while they're 'ot.  On a Stick.